package com.springframework.aop;


import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class UserServiceInterceptor implements MethodInterceptor {

    @Override
    public Object invoke(MethodInvocation invocation) throws Throwable {
        try {
            System.out.println("2.符合AOP切点表达式的,调用拦截器链: org.aopalliance.intercept.MethodInterceptor.invoke()");
            return invocation.proceed();
        } finally {
        }
    }

}
